Skip to content

Package ndi-compress v0.2.0#1

Merged
stevevanhooser merged 2 commits intomainfrom
packaging-ndi-compress-853084798891522952
Feb 5, 2026
Merged

Package ndi-compress v0.2.0#1
stevevanhooser merged 2 commits intomainfrom
packaging-ndi-compress-853084798891522952

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

Converted the codebase into a Python package named ndi-compress v0.2.0.

Key changes:

  • Implemented utility.py to dynamically find the correct binary executables based on the operating system.
  • Updated compress.py to use utility.py, ignore MacOS resource forks (._*) in tar archives, and handle 8-bit fallback for 16-bit digital files.
  • Added pyproject.toml configuration for building the package.
  • Added MANIFEST.in to include the binary files in the package.
  • Updated tests/test_ndi_compress.py to use ndicompress imports and skip compression tests if the binary is missing (e.g. on Linux/Mac where ndi_compress_* are absent).
  • Added tests/test_example_data.py to verify decompression using the provided example data.
  • Added a GitHub Actions workflow to run tests on Ubuntu, macOS, and Windows.
  • Cleaned up .gitignore.

PR created automatically by Jules for task 853084798891522952 started by @stevevanhooser

- Created `src/ndicompress/utility.py` to locate OS-specific binaries.
- Updated `src/ndicompress/compress.py` to use `utility.py` and ignore resource forks.
- Added `pyproject.toml` and `MANIFEST.in` for packaging.
- Updated `tests/test_ndi_compress.py` to import properly and skip missing binary tests.
- Added `tests/test_example_data.py` to test against example data artifacts.
- Created GitHub Actions workflow `.github/workflows/test.yml`.
- Updated `.gitignore` to exclude egg-info.
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Created `src/ndicompress/utility.py` to locate OS-specific binaries.
- Updated `src/ndicompress/compress.py` to use `utility.py` and ignore resource forks.
- Added `pyproject.toml` and `MANIFEST.in` for packaging.
- Updated `tests/test_ndi_compress.py` to import properly.
- Added `tests/test_example_data.py` to test against example data artifacts.
- Created GitHub Actions workflow `.github/workflows/test.yml`.
- Updated `.gitignore` to exclude egg-info.
@stevevanhooser stevevanhooser merged commit 11f8e38 into main Feb 5, 2026
0 of 3 checks passed
@stevevanhooser stevevanhooser deleted the packaging-ndi-compress-853084798891522952 branch February 5, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant